package com.bestcem.xm.ticket.service;

import com.bestcem.xm.common.core.domain.web.ServiceResult;
import com.bestcem.xm.ticket.controller.param.ticket.notify.setting.UpdateSettingParam;
import com.bestcem.xm.ticket.entity.mongo.NotifySetting;


/**
 * @author liheng
 * @version v1.0
 * @date 2021/8/26 18:08
 */
public interface TicketNotifySettingService {

    /**
     * 根据orgId获取通知配置
     *
     * @author liheng
     * @date 2021/8/26 18:15
     */
    ServiceResult<NotifySetting> getEntityByOrgId(String orgId);

    /**
     * 修改通知配置
     *
     * @author liheng
     * @date 2021/8/26 20:08
     */
    ServiceResult<String> updateSetting(UpdateSettingParam param);

}
